package com.netease.pris.activity;

import android.content.Intent;
import android.os.IBinder;
import android.text.TextUtils;
import android.view.View;
import android.view.View.OnClickListener;
import android.view.inputmethod.InputMethodManager;
import android.widget.AutoCompleteTextView;
import com.netease.b.a.d;
import com.netease.pris.activity.a.al;
import com.netease.pris.atom.u;
import java.util.HashMap;

class ch
  implements View.OnClickListener
{
  ch(MallListActivity paramMallListActivity)
  {
  }

  public void onClick(View paramView)
  {
    int i = 0;
    com.netease.pris.activity.view.c localc = null;
    while (true)
    {
      try
      {
        switch (paramView.getId())
        {
        case 2131558409:
          if (d.h().i())
            MainGridActivity.a(this.a.d, i, 1);
        case 2131558515:
        case 2131558516:
        case 2131558526:
        }
      }
      catch (NullPointerException localNullPointerException)
      {
        localNullPointerException.printStackTrace();
      }
      finally
      {
      }
      i = 1;
      continue;
      MallListActivity.b(this.a).setText("");
      break;
      IBinder localIBinder = MallListActivity.b(this.a).getWindowToken();
      MallListActivity.c(this.a).hideSoftInputFromWindow(localIBinder, 0);
      if ((MallListActivity.b(this.a).getText().toString().length() <= 0) || (TextUtils.isEmpty(MallListActivity.d(this.a))))
        break;
      Intent localIntent = new Intent("android.intent.action.SEARCH");
      localIntent.setClass(this.a.getApplication(), SearchActivity.class);
      localIntent.putExtra("query", MallListActivity.b(this.a).getText().toString());
      localIntent.putExtra("extra_link", MallListActivity.d(this.a));
      this.a.startActivityForResult(localIntent, 4097);
      com.netease.pris.d.c.a(this.a.p(), 1697, MallListActivity.b(this.a).getText().toString());
      break;
      localc = (com.netease.pris.activity.view.c)paramView.getTag();
    }
    while (localc != null)
    {
      u localu = (u)MallListActivity.e(this.a).getItem(localc.b);
      if (localu == null)
        break;
      int j;
      if (localu.ak())
      {
        j = MallListActivity.a(this.a, 303, localu, null, null);
        com.netease.pris.d.c.a(this.a.p(), 1703, localu.U());
      }
      while (true)
      {
        MallListActivity.f(this.a).put(new Integer(j), localu.V());
        break;
        if ((!localu.al()) || (PRISActivityWBSetting.a(this.a, localu.be())))
          break;
        j = MallListActivity.a(this.a, 302, localu, null, null);
        com.netease.pris.d.c.a(this.a.p(), 1702, localu.U());
      }
    }
  }
}

/* Location:           D:\android\hack\dex2jar-0.0.9.8\classes_dex2jar.jar
 * Qualified Name:     com.netease.pris.activity.ch
 * JD-Core Version:    0.6.0
 */